FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/CDSHooksServices

Packagehl7.fhir.uv.tools
Resource TypeStructureDefinition
IdCDSHooksServices
FHIR VersionR5
Sourcehttp://hl7.org/fhir/tools/https://build.fhir.org/ig/FHIR/fhir-tools-ig/StructureDefinition-CDSHooksServices.html
URLhttp://hl7.org/fhir/tools/StructureDefinition/CDSHooksServices
Version0.7.1
Statusactive
Date2025-07-29T19:07:22+00:00
NameCDSHooksServices
TitleCDSHooks Services Request (Logical Definition)
Realmuv
Authorityhl7
DescriptionThis structure is defined to allow the FHIR Validator to validate a CDSHooks Services response body. TODO: This content will be moved to the CDS Hooks specification in the future
Typehttp://hl7.org/fhir/tools/StructureDefinition/CDSHooksServices
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
CDSHooksElementCDSHooks Services Base Extensible Element

Narrative

Note: links and images are rebased to the (stated) source


English


Generated Narrative: StructureDefinition CDSHooksServices

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHooksServices 0..*CDSHooksElement
Elements defined in Ancestors:extension
The response to the discovery endpoint
... services 0..*CDSHooksElementA list of CDS services
.... hook 1..1stringThe hook this Services should be invoked on
.... title 0..1stringThe human-friendly name of this Services (Recommended)
.... id 1..1code{baseUrl}/cds-services/{id}
.... description 1..1stringThe description of this Services
.... usageRequirements 0..1stringHuman-friendly preconditions for this CDS Services
.... prefetch 0..*BaseKey/value pairs of FHIR queries to provide when calling
JSON: Represented as a single JSON Object with named properties using the value of the key child as the key
..... key 1..1codeKey of FHIR query
..... value 1..1stringFHIR query to execute

doco Documentation for this format

Spanish


Generated Narrative: StructureDefinition CDSHooksServices

NameFlagsCard.TypeDescription & Constraintsdoco
.. CDSHooksServices 0..*CDSHooksElement
Elements defined in Ancestors:extension
The response to the discovery endpoint
... services 0..*CDSHooksElementA list of CDS services
.... hook 1..1stringThe hook this Services should be invoked on
.... title 0..1stringThe human-friendly name of this Services (Recommended)
.... id 1..1code{baseUrl}/cds-services/{id}
.... description 1..1stringThe description of this Services
.... usageRequirements 0..1stringHuman-friendly preconditions for this CDS Services
.... prefetch 0..*BaseKey/value pairs of FHIR queries to provide when calling
JSON: Represented as a single JSON Object with named properties using the value of the key child as the key
..... key 1..1codeKey of FHIR query
..... value 1..1stringFHIR query to execute

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "CDSHooksServices",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype",
      "valueBoolean": true
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/tools/ImplementationGuide/hl7.fhir.uv.tools"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksServices",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.1.42.8"
    }
  ],
  "version": "0.7.1",
  "name": "CDSHooksServices",
  "title": "CDSHooks Services Request (Logical Definition)",
  "status": "active",
  "experimental": false,
  "date": "2025-07-29T19:07:22+00:00",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This structure is defined to allow the FHIR Validator to validate a CDSHooks Services response body. TODO: This content will be moved to the CDS Hooks specification in the future",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksServices",
  "baseDefinition": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.7.1"
      }
    ],
    "element": [
      {
        "id": "CDSHooksServices",
        "path": "CDSHooksServices",
        "short": "The response to the discovery endpoint",
        "definition": "The response to the discovery endpoint",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "CDSHooksServices.extension",
        "path": "CDSHooksServices.extension",
        "short": "Object that has Named Extension Properties",
        "definition": "A JSON object that has properties where the names are defined by the extension definitions",
        "comment": "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CDSHooksElement.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services",
        "path": "CDSHooksServices.services",
        "short": "A list of CDS services",
        "definition": "A list of CDS services",
        "comment": "If the CDS server hosts no CDS services, the discovery endpoint should return a 200 HTTP response with an empty array of services",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CDSHooksServices.services",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.extension",
        "path": "CDSHooksServices.services.extension",
        "short": "Object that has Named Extension Properties",
        "definition": "A JSON object that has properties where the names are defined by the extension definitions",
        "comment": "Extension structures SHOULD use a strategy for naming that ensures global uniqueness, such as reverse-domain-name notation, e.g. com.cds-hooks.sandbox.myextension-practitionerspecialty. How to handle complex extensions (objects) is not defined",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CDSHooksElement.extension",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksExtensions"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.hook",
        "path": "CDSHooksServices.services.hook",
        "short": "The hook this Services should be invoked on",
        "definition": "The hook this Services should be invoked on",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.hook",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.title",
        "path": "CDSHooksServices.services.title",
        "short": "The human-friendly name of this Services (Recommended)",
        "definition": "The human-friendly name of this Services (Recommended)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.id",
        "path": "CDSHooksServices.services.id",
        "short": "{baseUrl}/cds-services/{id}",
        "definition": "The {id} portion of the URL to this service which is available at ```{baseUrl}/cds-services/{id}```",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.description",
        "path": "CDSHooksServices.services.description",
        "short": "The description of this Services",
        "definition": "The description of this Services",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.description",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.usageRequirements",
        "path": "CDSHooksServices.services.usageRequirements",
        "short": "Human-friendly preconditions for this CDS Services",
        "definition": "Human-friendly description of any preconditions for the use of this CDS Services",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.usageRequirements",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.prefetch",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/json-property-key",
            "valueCode": "key"
          }
        ],
        "path": "CDSHooksServices.services.prefetch",
        "short": "Key/value pairs of FHIR queries to provide when calling",
        "definition": "An object containing key/value pairs of FHIR queries that this Services is requesting the CDS Client to perform and provide on each Services call. The key is a string that describes the type of data being requested and the value is a string representing the FHIR query",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CDSHooksServices.services.prefetch",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.prefetch.key",
        "path": "CDSHooksServices.services.prefetch.key",
        "short": "Key of FHIR query",
        "definition": "Key of FHIR query - name for client to use when sending to Services",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.prefetch.key",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.prefetch.value",
        "path": "CDSHooksServices.services.prefetch.value",
        "short": "FHIR query to execute",
        "definition": "Value of FHIR query - FHIR Query for client to perform",
        "min": 1,
        "max": "1",
        "base": {
          "path": "CDSHooksServices.services.prefetch.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "CDSHooksServices",
        "path": "CDSHooksServices",
        "short": "The response to the discovery endpoint",
        "definition": "The response to the discovery endpoint"
      },
      {
        "id": "CDSHooksServices.services",
        "path": "CDSHooksServices.services",
        "short": "A list of CDS services",
        "definition": "A list of CDS services",
        "comment": "If the CDS server hosts no CDS services, the discovery endpoint should return a 200 HTTP response with an empty array of services",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.hook",
        "path": "CDSHooksServices.services.hook",
        "short": "The hook this Services should be invoked on",
        "definition": "The hook this Services should be invoked on",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.title",
        "path": "CDSHooksServices.services.title",
        "short": "The human-friendly name of this Services (Recommended)",
        "definition": "The human-friendly name of this Services (Recommended)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.id",
        "path": "CDSHooksServices.services.id",
        "short": "{baseUrl}/cds-services/{id}",
        "definition": "The {id} portion of the URL to this service which is available at ```{baseUrl}/cds-services/{id}```",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.description",
        "path": "CDSHooksServices.services.description",
        "short": "The description of this Services",
        "definition": "The description of this Services",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.usageRequirements",
        "path": "CDSHooksServices.services.usageRequirements",
        "short": "Human-friendly preconditions for this CDS Services",
        "definition": "Human-friendly description of any preconditions for the use of this CDS Services",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.prefetch",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/json-property-key",
            "valueCode": "key"
          }
        ],
        "path": "CDSHooksServices.services.prefetch",
        "short": "Key/value pairs of FHIR queries to provide when calling",
        "definition": "An object containing key/value pairs of FHIR queries that this Services is requesting the CDS Client to perform and provide on each Services call. The key is a string that describes the type of data being requested and the value is a string representing the FHIR query",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.prefetch.key",
        "path": "CDSHooksServices.services.prefetch.key",
        "short": "Key of FHIR query",
        "definition": "Key of FHIR query - name for client to use when sending to Services",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "CDSHooksServices.services.prefetch.value",
        "path": "CDSHooksServices.services.prefetch.value",
        "short": "FHIR query to execute",
        "definition": "Value of FHIR query - FHIR Query for client to perform",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}